Optimal. Leaf size=135 \[ -\frac{1}{6} c^2 d x^6 \left (a+b \cosh ^{-1}(c x)\right )+\frac{1}{4} d x^4 \left (a+b \cosh ^{-1}(c x)\right )-\frac{b d x \sqrt{c x-1} \sqrt{c x+1}}{24 c^3}-\frac{b d \cosh ^{-1}(c x)}{24 c^4}+\frac{1}{36} b c d x^5 \sqrt{c x-1} \sqrt{c x+1}-\frac{b d x^3 \sqrt{c x-1} \sqrt{c x+1}}{36 c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.139109, antiderivative size = 135, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 7, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.304, Rules used = {14, 5731, 12, 460, 100, 90, 52} \[ -\frac{1}{6} c^2 d x^6 \left (a+b \cosh ^{-1}(c x)\right )+\frac{1}{4} d x^4 \left (a+b \cosh ^{-1}(c x)\right )-\frac{b d x \sqrt{c x-1} \sqrt{c x+1}}{24 c^3}-\frac{b d \cosh ^{-1}(c x)}{24 c^4}+\frac{1}{36} b c d x^5 \sqrt{c x-1} \sqrt{c x+1}-\frac{b d x^3 \sqrt{c x-1} \sqrt{c x+1}}{36 c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 5731
Rule 12
Rule 460
Rule 100
Rule 90
Rule 52
Rubi steps
\begin{align*} \int x^3 \left (d-c^2 d x^2\right ) \left (a+b \cosh ^{-1}(c x)\right ) \, dx &=\frac{1}{4} d x^4 \left (a+b \cosh ^{-1}(c x)\right )-\frac{1}{6} c^2 d x^6 \left (a+b \cosh ^{-1}(c x)\right )-(b c) \int \frac{d x^4 \left (3-2 c^2 x^2\right )}{12 \sqrt{-1+c x} \sqrt{1+c x}} \, dx\\ &=\frac{1}{4} d x^4 \left (a+b \cosh ^{-1}(c x)\right )-\frac{1}{6} c^2 d x^6 \left (a+b \cosh ^{-1}(c x)\right )-\frac{1}{12} (b c d) \int \frac{x^4 \left (3-2 c^2 x^2\right )}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx\\ &=\frac{1}{36} b c d x^5 \sqrt{-1+c x} \sqrt{1+c x}+\frac{1}{4} d x^4 \left (a+b \cosh ^{-1}(c x)\right )-\frac{1}{6} c^2 d x^6 \left (a+b \cosh ^{-1}(c x)\right )-\frac{1}{9} (b c d) \int \frac{x^4}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx\\ &=-\frac{b d x^3 \sqrt{-1+c x} \sqrt{1+c x}}{36 c}+\frac{1}{36} b c d x^5 \sqrt{-1+c x} \sqrt{1+c x}+\frac{1}{4} d x^4 \left (a+b \cosh ^{-1}(c x)\right )-\frac{1}{6} c^2 d x^6 \left (a+b \cosh ^{-1}(c x)\right )-\frac{(b d) \int \frac{3 x^2}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{36 c}\\ &=-\frac{b d x^3 \sqrt{-1+c x} \sqrt{1+c x}}{36 c}+\frac{1}{36} b c d x^5 \sqrt{-1+c x} \sqrt{1+c x}+\frac{1}{4} d x^4 \left (a+b \cosh ^{-1}(c x)\right )-\frac{1}{6} c^2 d x^6 \left (a+b \cosh ^{-1}(c x)\right )-\frac{(b d) \int \frac{x^2}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{12 c}\\ &=-\frac{b d x \sqrt{-1+c x} \sqrt{1+c x}}{24 c^3}-\frac{b d x^3 \sqrt{-1+c x} \sqrt{1+c x}}{36 c}+\frac{1}{36} b c d x^5 \sqrt{-1+c x} \sqrt{1+c x}+\frac{1}{4} d x^4 \left (a+b \cosh ^{-1}(c x)\right )-\frac{1}{6} c^2 d x^6 \left (a+b \cosh ^{-1}(c x)\right )-\frac{(b d) \int \frac{1}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{24 c^3}\\ &=-\frac{b d x \sqrt{-1+c x} \sqrt{1+c x}}{24 c^3}-\frac{b d x^3 \sqrt{-1+c x} \sqrt{1+c x}}{36 c}+\frac{1}{36} b c d x^5 \sqrt{-1+c x} \sqrt{1+c x}-\frac{b d \cosh ^{-1}(c x)}{24 c^4}+\frac{1}{4} d x^4 \left (a+b \cosh ^{-1}(c x)\right )-\frac{1}{6} c^2 d x^6 \left (a+b \cosh ^{-1}(c x)\right )\\ \end{align*}
Mathematica [A] time = 0.0920071, size = 166, normalized size = 1.23 \[ -\frac{1}{6} a c^2 d x^6+\frac{1}{4} a d x^4-\frac{1}{6} b c^2 d x^6 \cosh ^{-1}(c x)-\frac{b d x \sqrt{c x-1} \sqrt{c x+1}}{24 c^3}-\frac{b d \tanh ^{-1}\left (\frac{\sqrt{c x-1}}{\sqrt{c x+1}}\right )}{12 c^4}+\frac{1}{36} b c d x^5 \sqrt{c x-1} \sqrt{c x+1}-\frac{b d x^3 \sqrt{c x-1} \sqrt{c x+1}}{36 c}+\frac{1}{4} b d x^4 \cosh ^{-1}(c x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.017, size = 160, normalized size = 1.2 \begin{align*} -{\frac{{c}^{2}da{x}^{6}}{6}}+{\frac{da{x}^{4}}{4}}-{\frac{{c}^{2}db{\rm arccosh} \left (cx\right ){x}^{6}}{6}}+{\frac{db{\rm arccosh} \left (cx\right ){x}^{4}}{4}}+{\frac{dbc{x}^{5}}{36}\sqrt{cx-1}\sqrt{cx+1}}-{\frac{db{x}^{3}}{36\,c}\sqrt{cx-1}\sqrt{cx+1}}-{\frac{dbx}{24\,{c}^{3}}\sqrt{cx-1}\sqrt{cx+1}}-{\frac{db}{24\,{c}^{4}}\sqrt{cx-1}\sqrt{cx+1}\ln \left ( cx+\sqrt{{c}^{2}{x}^{2}-1} \right ){\frac{1}{\sqrt{{c}^{2}{x}^{2}-1}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.09547, size = 297, normalized size = 2.2 \begin{align*} -\frac{1}{6} \, a c^{2} d x^{6} + \frac{1}{4} \, a d x^{4} - \frac{1}{288} \,{\left (48 \, x^{6} \operatorname{arcosh}\left (c x\right ) -{\left (\frac{8 \, \sqrt{c^{2} x^{2} - 1} x^{5}}{c^{2}} + \frac{10 \, \sqrt{c^{2} x^{2} - 1} x^{3}}{c^{4}} + \frac{15 \, \sqrt{c^{2} x^{2} - 1} x}{c^{6}} + \frac{15 \, \log \left (2 \, c^{2} x + 2 \, \sqrt{c^{2} x^{2} - 1} \sqrt{c^{2}}\right )}{\sqrt{c^{2}} c^{6}}\right )} c\right )} b c^{2} d + \frac{1}{32} \,{\left (8 \, x^{4} \operatorname{arcosh}\left (c x\right ) -{\left (\frac{2 \, \sqrt{c^{2} x^{2} - 1} x^{3}}{c^{2}} + \frac{3 \, \sqrt{c^{2} x^{2} - 1} x}{c^{4}} + \frac{3 \, \log \left (2 \, c^{2} x + 2 \, \sqrt{c^{2} x^{2} - 1} \sqrt{c^{2}}\right )}{\sqrt{c^{2}} c^{4}}\right )} c\right )} b d \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.82995, size = 243, normalized size = 1.8 \begin{align*} -\frac{12 \, a c^{6} d x^{6} - 18 \, a c^{4} d x^{4} + 3 \,{\left (4 \, b c^{6} d x^{6} - 6 \, b c^{4} d x^{4} + b d\right )} \log \left (c x + \sqrt{c^{2} x^{2} - 1}\right ) -{\left (2 \, b c^{5} d x^{5} - 2 \, b c^{3} d x^{3} - 3 \, b c d x\right )} \sqrt{c^{2} x^{2} - 1}}{72 \, c^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 5.38028, size = 144, normalized size = 1.07 \begin{align*} \begin{cases} - \frac{a c^{2} d x^{6}}{6} + \frac{a d x^{4}}{4} - \frac{b c^{2} d x^{6} \operatorname{acosh}{\left (c x \right )}}{6} + \frac{b c d x^{5} \sqrt{c^{2} x^{2} - 1}}{36} + \frac{b d x^{4} \operatorname{acosh}{\left (c x \right )}}{4} - \frac{b d x^{3} \sqrt{c^{2} x^{2} - 1}}{36 c} - \frac{b d x \sqrt{c^{2} x^{2} - 1}}{24 c^{3}} - \frac{b d \operatorname{acosh}{\left (c x \right )}}{24 c^{4}} & \text{for}\: c \neq 0 \\\frac{d x^{4} \left (a + \frac{i \pi b}{2}\right )}{4} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.87797, size = 273, normalized size = 2.02 \begin{align*} -\frac{1}{6} \, a c^{2} d x^{6} + \frac{1}{4} \, a d x^{4} - \frac{1}{288} \,{\left (48 \, x^{6} \log \left (c x + \sqrt{c^{2} x^{2} - 1}\right ) -{\left (\sqrt{c^{2} x^{2} - 1}{\left (2 \, x^{2}{\left (\frac{4 \, x^{2}}{c^{2}} + \frac{5}{c^{4}}\right )} + \frac{15}{c^{6}}\right )} x - \frac{15 \, \log \left ({\left | -x{\left | c \right |} + \sqrt{c^{2} x^{2} - 1} \right |}\right )}{c^{6}{\left | c \right |}}\right )} c\right )} b c^{2} d + \frac{1}{32} \,{\left (8 \, x^{4} \log \left (c x + \sqrt{c^{2} x^{2} - 1}\right ) -{\left (\sqrt{c^{2} x^{2} - 1} x{\left (\frac{2 \, x^{2}}{c^{2}} + \frac{3}{c^{4}}\right )} - \frac{3 \, \log \left ({\left | -x{\left | c \right |} + \sqrt{c^{2} x^{2} - 1} \right |}\right )}{c^{4}{\left | c \right |}}\right )} c\right )} b d \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]